package com.xx.sg.own.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xx.sg.own.entity.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DeptMapper extends BaseMapper<Dept> {

    List<Dept> selectAreaDeptList();

    Dept selectDeptByPoint(@Param("longitude") Double longitude, @Param("latitude") Double latitude);
}
